package com.qf.main.pharmacy.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @author chengqiang
 * @Create 2024-03-02-16:30
 * @Description:
 */
@ApiModel(description = "pharmacy")
@Data
@TableName(value = "pharmacy")
public class Pharmacy {
    /**
     * 药品主键id（药品编号）
     */
    @TableId(value = "pharmacy_id", type = IdType.INPUT)
    @ApiModelProperty(value = "药品主键id（药品编号）")
    private Integer pharmacyId;

    /**
     * 药品名称
     */
    @TableField(value = "pharmacy_name")
    @ApiModelProperty(value = "药品名称")
    private String pharmacyName;

    /**
     * 药品价格
     */
    @TableField(value = "pharmacy_price")
    @ApiModelProperty(value = "药品价格")
    private BigDecimal pharmacyPrice;

    /**
     * 用法用量
     */
    @TableField(value = "pharmacy_usage")
    @ApiModelProperty(value = "用法用量")
    private String pharmacyUsage;

    /**
     * 批准文号
     */
    @TableField(value = "approval_number")
    @ApiModelProperty(value = "批准文号")
    private String approvalNumber;

    /**
     * 药企
     */
    @TableField(value = "pharmaceutical_companies")
    @ApiModelProperty(value = "药企")
    private String pharmaceuticalCompanies;

    /**
     * 发布时间
     */
    @TableField(value = "create_date")
    @ApiModelProperty(value = "发布时间")
    private Date createDate;

    /**
     * 审核状态(0未审核1已审核)
     */
    @TableField(value = "examine_status")
    @ApiModelProperty(value = "审核状态(0未审核1已审核)")
    private Integer examineStatus;

    /**
     * 0正常1删除
     */
    @TableField(value = "del_status")
    @ApiModelProperty(value = "0正常1删除")
    private Integer delStatus;

    /**
     * 非处方药0处方药1
     */
    @TableField(value = "prescription_status")
    @ApiModelProperty(value = "非处方药0处方药1")
    private Integer prescriptionStatus;

    /**
     * 描述
     */
    @TableField(value = "pharmacy_desc")
    @ApiModelProperty(value = "描述")
    private String pharmacyDesc;

    /**
     * 店铺号
     */
    @TableField(value = "pharmacy_shop_no")
    @ApiModelProperty(value = "店铺号")
    private Long pharmacyShopNo;

    /**
     * 类型
     */
    @TableField(value = "pharmacy_types")
    @ApiModelProperty(value = "类型")
    private Integer pharmacyTypes;

    /**
     * 图片
     */
    @TableField(value = "pharmacy_img")
    @ApiModelProperty(value = "图片")
    private String pharmacyImg;

    public static final String COL_PHARMACY_ID = "pharmacy_id";

    public static final String COL_PHARMACY_NAME = "pharmacy_name";

    public static final String COL_PHARMACY_PRICE = "pharmacy_price";

    public static final String COL_PHARMACY_USAGE = "pharmacy_usage";

    public static final String COL_APPROVAL_NUMBER = "approval_number";

    public static final String COL_PHARMACEUTICAL_COMPANIES = "pharmaceutical_companies";

    public static final String COL_CREATE_DATE = "create_date";

    public static final String COL_EXAMINE_STATUS = "examine_status";

    public static final String COL_DEL_STATUS = "del_status";

    public static final String COL_PRESCRIPTION_STATUS = "prescription_status";

    public static final String COL_PHARMACY_DESC = "pharmacy_desc";

    public static final String COL_PHARMACY_SHOP_NO = "pharmacy_shop_no";

    public static final String COL_PHARMACY_TYPES = "pharmacy_types";

    public static final String COL_PHARMACY_IMG = "pharmacy_img";
}
